package com.hermit.alaskagulfcustom.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.hermit.alaskagulfcustom.entity.UserEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author hermit
 * @data 2021/6/15
 */
@Mapper
public interface UserDao extends BaseMapper<UserEntity> {

    @Select("selectUserList")
    List<UserEntity> selectUserList(Pagination pagination, Integer state);
}
